Skip to main content

traceDelay

Type

property

Summary

Used by the script debugger to specify how long to wait between lines when a handler is being traced.

Syntax

set the traceDelay to <milliseconds>

Description

Use the traceDelay property to make tracing faster or slower.

When a handler is traced, each line is executed, after the delay specified in the traceDelay property. Using the debugger|script debugger, you can trace a handler slowly while watching the order in which lines are executed and the value of variables as they change, in order to track down any errors in the handler. Increasing the traceDelay causes the trace to take place more slowly, giving you more time to interpret the situation as the handler is traced. Decreasing the traceDelay speeds up tracing, which can be useful when debugging long handlers.

If the debugger is not active, this property has no effect.

Important

This property may change or be removed in future releases.

Examples

set the traceDelay to 1000 -- 1 second between steps

keyword: integer

command: debugDo

glossary: property, variable, handler, error, execute, debugger, debug

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

Thank you for your feedback!

Was this page helpful?